#include "init.h"

void init() {
    if (TTF_Init() == -1) {
        fprintf(stderr, "TTF_Init error. %s\n", SDL_GetError());
        exit(1);
    }
    init_graphics();
    init_crg();
}

/* post game cleanup */
void cleanup() {
    cleanup_crg();
    cleanup_graphics();
    TTF_Quit();
    SDL_Quit();
}